package net.sxnic.jhitem.itemssmb.dao;

import java.util.List;

import net.sxinfo.core.spring25.HibernateDao;
import net.sxnic.jhitem.itemssmb.ItemSsmb;

import org.springframework.stereotype.Repository;

@Repository("itemSsmbDao")
public class HibernateItemSsmbDao extends HibernateDao<ItemSsmb, String> implements
	ItemSsmbDao {

	/**
     * @Description 根据主表id查询专家子表的列表
     * @param baseinfoId
     * @return 返回专家列表
     * @throws Exception
     */
	@Override
	public List<ItemSsmb> findListByBaseinfoId(String baseinfoId)
	{
	   String hql="from ItemSsmb where baseinfoId= ? order by contentOrder";
		return  find(hql, new Object[]{baseinfoId});
	}
}
